package vip.zhenzicheng.design_patterns.memento.white_box;

/**
 * 备忘录对象管理对象
 *
 * @author zhenzicheng
 * @date 2022-05-27 14:38
 */
public class RoleStateCaretaker {

  //声明RoleStateMemento类型的变量
  private RoleStateMemento roleStateMemento;

  public RoleStateMemento getRoleStateMemento() {
    return roleStateMemento;
  }

  public void setRoleStateMemento(RoleStateMemento roleStateMemento) {
    this.roleStateMemento = roleStateMemento;
  }
}
